home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
PowerPlant
/
BlueLibrary Pack1 v1.1
/
BlueLibrary Pack1 ƒ
/
BD Common ƒ
/
CStartupWindow.h
< prev
next >
Wrap
Text File
|
1996-04-19
|
1KB
|
50 lines
// ===========================================================================
// CStartupWindow.h
// Written by Christophe Causer
// ©1996 BlueDays Software. All Rights Reserved.
//
// You may use this class in any non-commercial program without
// permission. The only restriction is that you must credit the
// author in your about box. For commercial use, please contact
// the author at the email address below.
//
// Send bug-reports and comments to bluedays@kagi.com
//
// ===========================================================================
#pragma once
#include <LEventDispatcher.h>
#include <LWindow.h>
#include <LPeriodical.h>
class CStartupWindow : public LWindow,
public LPeriodical,
public LEventDispatcher {
public:
enum {class_ID = 'Stup'};
static CStartupWindow* CreateStartupWindowStream(LStream *inStream);
CStartupWindow(); // Default constructor
~CStartupWindow(); // Default destructor
CStartupWindow(LStream *inStream); // Stream constructor
virtual void FindCommandStatus( CommandT inCommand,
Boolean &outEnabled,
Boolean& outUsesMark,
Char16& outMark,
Str255 outName);
void Display(); // Can't be overrided
void DisplayForWait();
void Wait();
protected:
Int32 mStartupDelay;
virtual void SpendTime(const EventRecord &inMacEvent);
};